package com.qingke.easyjava.mybatis.pojo;


public class Student {
	private Integer id;
	private String name;
	private Integer classId;
    private MyClass clazz;	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public MyClass getClazz() {
		return clazz;
	}
	public void setClazz(MyClass clazz) {
		this.clazz = clazz;
	}
	public Integer getClassId() {
		return classId;
	}
	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", classId=" + classId + ",className="+clazz.getName()+"]";
	}
	


	
}
